<template>
  <div :class="{ '_mobile-center-wrapper': isMobile }">
    <battles
      :request="getBattlesList"
      :show-size="10"
      :diff-request-seconds="2"
    />
  </div>
</template>

<script lang="tsx" setup>
import { getBattlesList } from "@/api/uc";
import Battles from "@/components/Battles/battles.vue";
import { useMedia } from "@/hooks/useMedia";

const isMobile = useMedia();
</script>

<style lang="less" scoped>
@import url("../styles/common.less");
</style>
